<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});


Route::get('/hello', function () {
    return 'Hello World';
});

Route::get('/text', [\App\Http\Controllers\IndexController::class, 'text']);
Route::get('/sleep', [\App\Http\Controllers\IndexController::class, 'sleep']);

Route::get('/redis/set', [\App\Http\Controllers\IndexController::class, 'redisSet']);
Route::get('/redis/get', [\App\Http\Controllers\IndexController::class, 'redisGet']);

Route::get('/mysql/create', [\App\Http\Controllers\IndexController::class, 'mysqlCreate']);
Route::get('/mysql/show', [\App\Http\Controllers\IndexController::class, 'mysqlShow']);
